package com.youbus.supplierCenter.po;

import java.io.Serializable;
import java.util.Date;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.infoservice.po.DataBean;
import com.infoservice.po.POFactoryUtil;

/**
  * ${tableComment}
  * 
  * @author AndyTain
  */

@SuppressWarnings("serial")
public class ${tableName_Iii} implements DataBean{
	<#list columnList as temp>
	
	/** ${temp.columnComment?if_exists} */
	private ${temp.columnType} ${temp.columnName_iii};
	</#list>

	<#list columnList as temp>
	/** ${temp.columnComment?if_exists} */
	<#if temp.columnName=="ID">
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	</#if> 
	public ${temp.columnType} get${temp.columnName_Iii}() {
		return ${temp.columnName_iii};
	}
	
	/** ${temp.columnComment?if_exists} */
	public void set${temp.columnName_Iii}(${temp.columnType} ${temp.columnName_iii}) {
		this.${temp.columnName_iii} = ${temp.columnName_iii};
	}
	
	</#list>
	
	public String toXMLString(){
		return POFactoryUtil.beanToXmlString(this);
	}

